<?php $this->fetch('public/head') ?>
    <div class="layui-tab layui-tab-brief">
        <div class="layui-tab-content">
            <!-- 内容主体区域 -->
            <table class="layui-table" lay-skin="line" lay-even>
                <colgroup>
                    <col width="150">
                    <col>
                </colgroup>
                <tbody>
                <?php foreach ($list as $v){?>
                <tr>
                    <td><?php echo $v['user_name']?>：</td>
                    <td><?php echo $v['amount'] ?></td>
                </tr>
    <?php }?>
                </tbody>
            </table>

        </div>
    </div>
<?php $this->fetch('public/script') ?>